import request from '@/utils/request'

export const reqGetPromotionList = (data) => request.get('/userPromotions', { params: data })

export const reqEditPromotion = (id, data) => request.put('/userPromotions/' + id, data)